
import {api} from "@/boot/axios";

export function getAbsence() {

    return api({
        url:'/absence/getall',
        method:'get',
        params:{}
    })
}

export function approveAbsence(data) {
    return api({
        url:'/absence/approve',
        method:'post',
        data:data
    })
}